package com.mark.mall.admin.platform.dto.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * Created by admin on 2021/3/1 20:49
 */
@Data
@ApiModel("后台供应商修改")
public class ProviderUpdateParam {
    @ApiModelProperty(value = "供应商id")
    @NotEmpty(message = "供应商id不能为空!")
    private String id;

    @ApiModelProperty(value = "供应商编码")
    @NotEmpty(message = "供应商编码不能为空!")
    private String procode;

    @ApiModelProperty(value = "供应商名称")
    @NotEmpty(message = "供应商名称不能为空!")
    private String proname;

    @ApiModelProperty(value = "供应商详细描述")
    @NotEmpty(message = "供应商详细描述不能为空!")
    private String prodesc;

    @ApiModelProperty(value = "供应商联系人")
    @NotEmpty(message = "供应商联系人不能为空!")
    private String procontact;

    @ApiModelProperty(value = "联系电话")
    @NotEmpty(message = "联系电话不能为空!")
    private String prophone;

    @ApiModelProperty(value = "地址")
    @NotEmpty(message = "地址不能为空!")
    private String proaddress;
}
